Class CDDCParams
java.lang.Object
com.vasco.orchestration.client.cddc.CDDCParams
An
CDDCParams object provides parameters for CDDC process.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumList of optional fields that can be retrieved. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the current list of optional fields for automatic retrieval that require permissions.longGets the current CDDC refresh delay in seconds.voidsetOptionalRetrievableFields(Set<CDDCParams.OptionalRetrievableFields> optionalRetrievableFields) Sets the list of fields to be automatically retrieved.voidsetRefreshDurationSeconds(long refreshDurationSeconds) Sets the refresh delay for the automatic CDDC data collection.
-
Constructor Details
-
CDDCParams
public CDDCParams()
-
-
Method Details
-
getRefreshDurationSeconds
public long getRefreshDurationSeconds()Gets the current CDDC refresh delay in seconds.- Returns:
- current refresh delay (in seconds), default value is 60
-
setRefreshDurationSeconds
public void setRefreshDurationSeconds(long refreshDurationSeconds) Sets the refresh delay for the automatic CDDC data collection. If the delay was not set manually, default value is 60 seconds.- Parameters:
refreshDurationSeconds- new refresh delay (in seconds)
-
getOptionalRetrievableFields
Gets the current list of optional fields for automatic retrieval that require permissions.Note: if
CDDCParams.OptionalRetrievableFields.WiFiis included in the list, following permissions are required:- ACCESS_COARSE_LOCATION
- ACCESS_FINE_LOCATION
- ACCESS_WIFI_STATE
- ACCESS_NETWORK_STATE
- CHANGE_WIFI_STATE
Note: if
CDDCParams.OptionalRetrievableFields.Bluetoothis included in the list, following permissions are required:- ACCESS_COARSE_LOCATION
- ACCESS_FINE_LOCATION
- BLUETOOTH
- BLUETOOTH_ADMIN
Note: if
CDDCParams.OptionalRetrievableFields.Geolocationis included in the list, following permissions are required:- ACCESS_COARSE_LOCATION
- ACCESS_FINE_LOCATION
- Returns:
- list of configured fields
-
setOptionalRetrievableFields
public void setOptionalRetrievableFields(Set<CDDCParams.OptionalRetrievableFields> optionalRetrievableFields) Sets the list of fields to be automatically retrieved.Note: if
CDDCParams.OptionalRetrievableFields.WiFiis included in the list, following permissions are required:- ACCESS_COARSE_LOCATION
- ACCESS_FINE_LOCATION
- ACCESS_WIFI_STATE
- ACCESS_NETWORK_STATE
- CHANGE_WIFI_STATE
Note: if
CDDCParams.OptionalRetrievableFields.Bluetoothis included in the list, following permissions are required:- ACCESS_COARSE_LOCATION
- ACCESS_FINE_LOCATION
- BLUETOOTH
- BLUETOOTH_ADMIN
Note: if
CDDCParams.OptionalRetrievableFields.Geolocationis included in the list, following permissions are required:- ACCESS_COARSE_LOCATION
- ACCESS_FINE_LOCATION
- Parameters:
optionalRetrievableFields- new field list
-